package com.zh.note.demo.collection;

import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;

/**
 * @Author: zhanghuan
 * @date: 2025/2/11 10:39
 * @description: create it
 */
public class HashSetDemo {
    public static void main(String[] args) {
        Set<Integer> set = new HashSet<>();
        Set<Integer> linkedHashSet = new LinkedHashSet<>();
        set.add(1);
    }
}
